package com.zy.explore.search.interfaces.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 建类说明：文章保存请求Frm
 *
 * @author 中国印
 * @date 2022年02月12日 00:54:57
 */
@ApiModel("文章保存请求Frm")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ArticleSaveFrm {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键", example = "'1'")
    private String id;

    /**
     * 摘要信息
     */
    @ApiModelProperty(value = "摘要信息", example = "'1'")
    private String summary;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题", example = "'1'")
    private String title;

    /**
     * 所属标签
     */
    @ApiModelProperty(value = "所属标签", example = "'1'")
    private String tags;

    /** 是否推荐*/
    @ApiModelProperty(value = "是否推荐", example = "1")
    private Integer featured;

    /** 文章类型是否原创（1，0：是，否）*/
    @ApiModelProperty(value = "是否原创", example = "1")
    private Integer type;

    /** 分类*/
    @ApiModelProperty(value = "分类", example = "1")
    private Integer belongGroup;

    /** 评论量*/
    @ApiModelProperty(value = "评论量", example = "1")
    private Integer comments;

    /** 收藏量*/
    @ApiModelProperty(value = "收藏量", example = "1")
    private Integer favors;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "关键字")
    private String keywords;


}
